extends layout/navbar

block link
    link(rel='stylesheet' href='/vendor/fullcalendar-3.1.0/fullcalendar.css')
    link(rel='stylesheet', href='/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css')
    link(rel='stylesheet', href='/vendor/bootstrap-notify/animate.css')
    link(rel='stylesheet', href='/css/style.css')
    link(rel='stylesheet', href='/css/addReservation.css')


block content

    body
        #account-form-container.form-horizontal.well
            //form(method="post")#account-form.form-horizontal.well
            #account-form.form-horizontal.well
                h2#title_label 会议室预约申请
                h6#sub1 请填写下面的信息(带星的必填)

                hr
                h6#sub2 联系人信息
                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 企业/团队名称
                    .col-sm-6
                        input.form-control#inc_name(type='text', placeholder="企业/团队名称")

                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 企业/团队电话
                    .col-sm-6
                        input.form-control#contact_tel(type='text', placeholder="企业/团队电话")

                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 联系人姓名
                    .col-sm-6
                        input.form-control#contact_name(type='text', placeholder="联系人姓名")

                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 联系人手机
                    .col-sm-6
                        input.form-control#contact_phone(type='text', placeholder="联系人手机")

                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 联系人邮箱
                    .col-sm-6
                        input.form-control#contact_email(type='text', placeholder="联系人邮箱")

                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 联系人职位
                    .col-sm-6
                        input.form-control#contact_position(type='text', placeholder="联系人职位")


                hr
                | 预约信息
                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 申请标题/申请简介
                    .col-sm-6
                        input.form-control#title(type='text', placeholder="申请标题/申请简介")

                .form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 申请会议室
                    .col-sm-6
                        select#room_name.form-control
                            option(value='-1') 请选择
                            option(value='1') 电信学院第一会议室
                            //option(value='2') 电信学院第二会议室
                            //option(value='3') 电信学院第三会议室
                            //option(value='4') 电信学院第四会议室

                div.form-group
                    label.control-label.col-sm-3
                        i.required *
                        | 起始时间
                    .col-sm-6
                        #datetimepicker1.input-group.date
                            input#start.form-control(type='text')
                            span.input-group-addon
                                span.glyphicon.glyphicon-calendar

                div.form-group
                    label.control-label.col-sm-3
                        | 结束时间
                    .col-sm-6
                        #datetimepicker2.input-group.date
                            input#end.form-control(type='text')
                            span.input-group-addon
                                span.glyphicon.glyphicon-calendar

                .form-group
                    label.control-label.col-sm-3
                        | 是否全天
                    .col-sm-6
                        select#allDay.form-control(name='allDay')
                            option(value='-1') 请选择
                            option(value='1') 是
                            option(value='2') 否

                hr
                h6#sub3 招聘信息
                .form-group
                    label.control-label.col-sm-3
                        | 岗位名称
                    .col-sm-6
                        input#post_name.form-control(placeholder='岗位名称', type='text')

                .form-group
                    label.control-label.col-sm-3
                        | 招收专业
                    .col-sm-6
                        input#recruit_professional.form-control(placeholder='招收专业', type='text')

                .form-group
                    label.control-label.col-sm-3
                        | 招收人数
                    .col-sm-6
                        input#enrolment_numbers.form-control(placeholder='招收人数', type='text')

                .form-group
                    label.control-label.col-sm-3
                        | 招收人数
                    .col-sm-6
                        input#working_place.form-control(placeholder='工作地点', type='text')

                .form-group
                    label.control-label.col-sm-3
                        | 工作需求
                    .col-sm-6
                        input#job_requirements.form-control(placeholder='工作需求', type='text')

                .form-group
                    label.control-label.col-sm-3
                        | 工作待遇
                    .col-sm-6
                        input#working_conditions.form-control(placeholder='工作待遇', type='text')

                div.form-group
                    label.control-label.col-sm-3
                        | 是否招收实习生
                    .col-sm-6
                        select#the_intern.form-control
                            option(value='-1') 请选择
                            option(value='1') 是
                            option(value='2') 否

                div.form-group
                    label.control-label.col-sm-3
                        | 详细招聘信息
                    .col-sm-6
                        textarea#detail_info.form-control(placeholder='详细招聘信息', cols='50', rows='10')

                div.form-group
                    label.control-label.col-sm-3
                    .col-sm-6
                        //div#btn-container
                        button#back.btn.btn-default 返回
                        button#submit_reservation.btn.btn-primary() 提交申请


block scripts
    script(src='/vendor/moment.min.js')
    script(src='/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js')
    script(src='/vendor/fullcalendar-3.1.0/fullcalendar.js')
    script(src='/vendor/bootstrap-notify/bootstrap-notify.js')
    script(src='/vendor/bootbox.min.js')
    script(src='/js/views/myNotify.js')
    script(src='/vendor/fullcalendar-3.1.0/zh-cn.js')
    script(src='/js/views/rooms.js')
    script(src='/js/views/addReservation.js')
    script(src='/js/form-validators/emailValidator.js')

